package business.report.impl;

import business.report.SoftwareEnterpriseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.SecurityTraining;
import report.domain.SoftwareEnterprise;
import report.domain.SoftwareEnterpriseCriteria;
import report.mapper.SoftwareEnterpriseMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "softwareEnterpriseService")
public class SoftwareEnterpriseServiceImpl implements SoftwareEnterpriseService{
    @Autowired
    SoftwareEnterpriseMapper softwareEnterpriseMapper;

    @Override
    public List<SoftwareEnterprise> getSoftwareEnterprise() {
        SoftwareEnterpriseCriteria criteria = new SoftwareEnterpriseCriteria();
        criteria.createCriteria().getAllCriteria();
        return softwareEnterpriseMapper.selectByExample(criteria);
    }
}
